Searching for Text

PreviousUpNext

To search for text in a Text Compare session, select Find Find from the Search menu.  Type the text or a regular expression pattern in the Text to find edit, or click the dropdown DropDown to select from a list of previous searches.  There is also a separate dropdownDropDown button with a list of common regular expression terms.  Pick one from the list to insert it in the match edit.

Click Find to move the cursor to the next match.  If the editor is in line mode, you can click Select All to select all the lines that contain a match.

The Find dialog options are:

Option

Meaning

Match character case

Only match text with the same character case (uppercase or lowercase).

Whole words only

Searching for apple will not match on apples, applesauce or snapple.

Regular expression

Interpret search text as a Perl-compatible regular expression.

Wrap search

When one end of the file is reached, continue searching at the other end.

Search up

Search for the first text to match that is before the cursor.

Sides

Select which side of the comparison to search:  The current side or both sides.

 

Mark the Close dialog automatically checkbox if you want the dialog to close when you click Find.

Select Find Next FindNext or Find Previous FindPrev to continue searching for the same text.

To find and replace text, select Replace Replace.